<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<html>
<head>

<title>index</title>
<link rel="stylesheet" type="text/css" href="css/nongfu.css">
<link rel="stylesheet" type="text/css" href="css/regist.css">
<script type="text/javascript" src="js/nongfu.js"></script>
</head>
<body>
	<div class="am-header">
		<div class="header-left">
			<span id="login">会员登录</span>
			<span id="regist"><a href="javascript:void(0)">会员注册</a></span>
		</div>
		<div class="header-right">
			<a href="#">加入我们</a>
			<a href="introAction">网站介绍</a>
			<a href="javascript:void(0)"
				onclick="SetHome(this,'http://localhost:8899/new-am')">设为首页</a> <a
				href="javascript:void(0)"
				onclick="AddFavorite('http://localhost:8899/new-am',document.title)">加入收藏夹</a>
		</div>
	</div>
	<div id="login_form">
		<form class="loginform" action="">
			<table
				style="height:70px;table-layout:fixed;font-size: 16px;margin: 0px auto;margin-top: 10px;">
				<tr>
					<td>用户名:</td>
				</tr>
				<tr style="margin-top: 1px">
					<td><input type="text" name="userName" datatype="*"
						class="inputxt" nullmsg="请输入用户名！" />
					</td>
				</tr>
				<tr>
					<td>密码:</td>
				</tr>
				<tr style="margin-top: 1px">
					<td><input type="password" name="passWord" datatype="*"
						class="inputxt" nullmsg="请输入密码！" />
					</td>
				</tr>
				<tr>
					<td style="padding:10px 0 18px 0;float: left;"><input
						type="button" value="登录" class="ajaxpost" /> </td>
				</tr>
			</table>
		</form>
	</div>
	<div class="main">
		<div class="search">
			<a href="http://localhost:8899/new-am"><img src="images/logo.png" align="bottom" />
			</a>
			<table>
				<tr>
					<td>
						<input type="text" name="keyword" value="请输入关键字" id="keyword_search" />
						<input type="button" value="搜索" id="btn" />
					</td>
					<td>
					    <iframe id="weather" src="http://tianqi.xixik.com/cframe/1"
							width="290" height="35" frameborder="0" marginwidth="0"
							marginheight="0" scrolling="no"></iframe>
					</td>
				</tr>
			</table>
		</div>
		<div class="main_center">
				<div class="main_tab">
					<ul>
						<li>新闻</li>
						<li>热门视频</li>
						<li>热门事件</li>
					</ul>
				</div>
				<div class="content">
					<div style="display: none" id="tab0">
						<div id="banner">	
							<div id="banner_bg"></div>  <!--标题背景-->
							<div id="banner_info"></div> <!--标题-->
						    <ul>
						        <li class="on">1</li>
						        <li>2</li>
						        <li>3</li>
						        <li>4</li>
						    </ul>
						   <div id="banner_list">
						        <a href="product_detail.action" target="_blank"><img src="images/change/p1.jpg" title="特色新闻" alt="特色新闻" /></a>
						        <a href="product_detail.action" target="_blank"><img src="images/change/p5.jpg" title="特色新闻" alt="特色新闻" /></a>
						        <a href="product_detail.action" target="_blank"><img src="images/change/p3.jpg" title="特色新闻" alt="特色新闻" /></a>
						        <a href="product_detail.action" target="_blank"><img src="images/change/p4.jpg" title="特色新闻" alt="特色新闻" /></a>
							</div>
						</div>
						<div class="new_title">
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a>
							<a href="#"><img src="images/arrow1.gif"/>欢迎使用在线PS软件(photoshop),免去</a><br/>
						</div>
					</div>
					<div style="display: none" id="tab1">热门视频内容</div>
					<div style="display: none" id="tab2">热门事件内容</div>
				</div>
		</div>
	</div>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/Validform_v5.3.2_min.js"></script>
    <script type="text/javascript">
		$(function(){
			var demo=$(".loginform").Validform();
			$(".ajaxpost").click(function(){
				demo.ajaxPost();
				return false;
			});
			$("#regist").click(function(){location = "registUser.action";});
		});
	</script>
</body> 
</html>
